.checkout_container {
  padding-top: 110px;

  width: 100%;
    background-image: url(../images/2025images/paper_bg.jpg);
      background-size: cover;
      overflow: hidden;
    
  /* aspect-ratio: 1440 / 820; */
}
.checkout_container_bg {
  width: 100%;

  background-repeat: no-repeat;

  /* padding-inline: 10%; */
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;


  flex-direction: column;
  max-width: 1280px;
  margin: 0 auto;
z-index: 2;


}

.checkout .items {
    min-width: 220px;
    width: 58%;
    max-width: 350px;
}

.checkout_container_checkout_form h3{
  color:  #00432F;
    text-align: center;
    font-family: "Autour One";
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    margin: 16px auto;
}

.checkout_container_deco_ball {
  width: 18%;
  aspect-ratio: 254/382;
  background-image: url(../images/checkout_top_deco_ball.png);
  top: 0px;
  left: 0px;
  background-size: 100% auto;
  background-repeat: no-repeat;
  position: absolute;
}

.checkout_container_deco_fabric {
  width: 100%;
  aspect-ratio: 291 / 122;
  background-image: url(../images/checkout_bottom_fabric.png);
  bottom: 0px;
  left: 0px;
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-position: bottom;
  position: absolute;
  z-index: -1;
}
.checkout_container_deco_cart {
  width: 28%;
  aspect-ratio: 482 / 357;
  background-image: url(../images/checkout_bottom_cart.png);
  bottom: 20px;
  left: 0px;
  background-size: 100% auto;
  background-repeat: no-repeat;
  position: absolute;
  z-index: 1;
}

.checkout_container_deco_monster {
  width: 30%;
  aspect-ratio: 518 / 511;
  background-image: url(../images/checkout_bottom_right_deco.png);
  /* bottom: 20px; */
  right: 0px;
  background-size: 100% auto;
  background-repeat: no-repeat;
  position: absolute;
  z-index: 1;
  background-position: top center;
  max-width: 500px;
}
.checkout_container_checkout_form {
  width: 416px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 83px;


  
}

.checkout .cart_container_content_left_th::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 6px;
    background-image: url(../images/2025images/devisionLineBlack.svg);
    bottom: -14px;
    background-size: 100% auto;
    background-repeat: no-repeat;
    left: 0px;
}

.checkout .cartPopup_detail_total::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 6px;
    background-image: url(../images/2025images/devisionLineBlack.svg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    top: -36px;
}

.checkout .cartPopup_detail_total {
    margin-top: 72px;
    display: flex
;
    justify-content: space-between;
    font-family: "Josefin Sans";
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    color: #242711;
}

.checkout .cartPopup_detail .cart_container_content_left_th {
  margin-bottom: 48px;
}

.checkout .total {
    width: 100px;
    text-align: center;
    text-align: end;
    margin-right: 0px;
}
#timer-display_container {
top: 18px
};


.checkout .item {
  min-width: 215px;
}

/* timer */

.checkout .price_th {
    text-align: left;
    white-space: nowrap;
}



.checkout .checkout_container_checkout_form_add_card_detail h2 {
color: #29110B;

/* EN/Body - Bold */
font-family: Inter ,'Noto Sans TC';
font-size: 16px;
font-style: normal;
font-weight: 700;
line-height: 140%; /* 22.4px */
min-width: 215px;

}
#payment-element {
  width: 100%;
}
@keyframes roll {
  from {
    transform: translate(-50%, 0%) rotate(0deg);
  }
  to {
    transform: translate(-50%, 0%) rotate(360deg);
  }
}
.checkout_container_checkout_form_add_card {
  width: 100%;
  display: flex;
  justify-content: center;
}
.checkout_container_checkout_form_add_card_detail {
  width: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: 454px;
}

.checkout_container_checkout_form_add_card_detail h2 {
  text-align: left;
}
.checkout
  .checkout_container_checkout_form_add_card_detail
  .checkout_container_checkout_form_add_card_detail_title {
  font-family: "Josefin Sans";
  font-size: 32px;
  font-style: normal;
  font-weight: 700;
  color: #242711;
  margin-bottom: 40px;
}

.checkout_container_checkout_form_add_card_detail_row {
  display: flex;
  flex-direction: column;
  margin-bottom: 10px;
  width: 100%;
  max-width: 454px;
}
.checkout_container_checkout_form_add_card_detail_row span {
  font-family: "Avenir Next";
  font-size: 13px;
  font-style: normal;
  font-weight: 600;
  color: #6e6653;
  height: 18px;
}

.checkout_container_checkout_form_add_card_detail_row input {
  height: 40px;
  border-radius: 6px;
  border: 2px solid #e1ded0;
  padding: 10px;
  background: #fcfcfc;
  box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.07);
}

.checkout_container_checkout_form_add_card_detail_row3 {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 64px;
}

.checkout_container_checkout_form_add_card_detail_row3_left {
  display: flex;
  flex-direction: column;
  width: 49%;
}

.checkout_container_checkout_form_add_card_detail_row3_right {
  display: flex;
  flex-direction: column;
  width: 49%;
}

.checkout_container_checkout_form_add_card_detail_total {
  font-family: "Josefin Sans";
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  color: #0a1612;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-end;
  width: 100%;
  max-width: 500px;
  margin-top: 24px;
}



.checkout_container_checkout_form_add_card_detail_total_num span, .checkout_container_checkout_form_add_card_detail_total span {
 color: #29110B;
text-align: center;

/* EN/Headline XL */
font-family: "Autour One";
font-size: 24px;
font-style: normal;
font-weight: 400;
line-height: 120%; /* 38.4px */
}


.checkout_container_checkout_form_add_card_detail_total .checkout_container_checkout_form_add_card_detail_total_num , .checkout_container_checkout_form_add_card_detail_total .checkout_container_checkout_form_add_card_detail_total_num span{
 color: #29110B;
text-align: center;

/* EN/Headline XL */
font-family: "Autour One";
font-size: 32px;
font-style: normal;
font-weight: 400;
line-height: 120%; /* 38.4px */
}
.stripe_remark {
    color: #737373;
text-align: center;

/* EN/Body Small - Regular */
font-family: Inter ,'Noto Sans TC';
font-size: 12px;
font-style: normal;
font-weight: 400;
line-height: 130%; /* 15.6px */
margin: 24px auto;
}

.btnWrapper {
  width: 100%;
  max-width: 500px;
}

.checkout_container .cartPopup_detail {
     /* border-radius: 16px; */
    /* border: 2px solid #98855d; */
    /* background: rgba(252, 243, 232, 0.8); */
    /* padding: 24px 24px 24px 24px; */
    width: 416px;
    margin-top: 32px;
    margin-bottom: 67px;
    position: relative;
    max-height: unset;
}

.cartPopup_detail .cart_container_content_left_th {
  color: #6e6653;

  /* Desktop EN/Body Small - Semi Bold */
  font-family:Inter;
  font-size: 14px;
  font-style: normal;

  line-height: 150%; /* 18px */
  padding-inline: 0px;
  margin-bottom: 26px;
}

.cart .cartPopup_detail .cart_container_content_left_th {
  color: #6e6653;

  /* Desktop EN/Body Small - Semi Bold */
  font-family:Inter;
  font-size: 14px;
  font-style: normal;

  line-height: 150%; /* 18px */
  padding-inline: 0px;
  margin-bottom: 30px;
}


.checkout_container_checkout_form_add_card .btnWrapper{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}



.cartPopup_detail_item {
  color: #6e6653;
  font-weight: 400;
}

.cartPopup_detail
  .cart_container_content_left_santa_santa_grove_detail_title_info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  /* margin-top: 18px; */
  font-family: "Montserrat";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  color: #6e6653;
  margin-top: 9px;
}

.otherItem {
  display: flex;
  
  /* margin-block: 9px; */
}

.otherItem h2 {
color: #29110B;

/* EN/Body - Bold */
font-family: Inter ,'Noto Sans TC';
font-size: 16px;
font-style: normal;
font-weight: 700;
line-height: 140%; /* 22.4px */
}
.btnWrapper{
  max-width: unset;
}
.total span {
color: #6E5D40;
text-align: right;

/* EN/Body - Regular */
font-family: Inter;
font-size: 16px;
font-style: normal;
font-weight: 400;
line-height: 140%; /* 22.4px */
}

.checkout .link_to_tnc {
color: #737373;
text-align: left;

/* EN/Body Small - Regular */
font-family: Inter ,'Noto Sans TC';
font-size: 12px;
font-style: normal;
font-weight: 400;
line-height: 130%; /* 15.6px */

}

.checkout .link_to_tnc a{
  
color: #737373;
text-decoration: underline;
}

.cartPopup .titleName {
  margin-bottom: 9px;
}

.checkout .cart_container_content_left_santa_santa_grove_detail {
  /* margin-bottom: 36px; */
}

.summaryTitle {
color:  #00432F;
text-align: center;

/* EN/Title */
font-family: "Autour One";
font-size: 24px;
font-style: normal;
font-weight: 400;
line-height: 150%; /* 36px */
}
.checkout_bottom_deco{
      display: flex
;
    width: 100%;
    max-width: 100%;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: -26%
}

.checkout .cart_container_content_left_santa_santa_grove_detail_other_item_name.photoframe_name br{
  display: none;
}


#checkout_deco_left{
  width: 30%;
    object-fit: contain;
    max-width: 500px;
    min-width: 150px;
}

#checkout_deco_right{
    width: 26%;
    object-fit: contain;
    max-width: 400px;
      min-width: 150px;

}

.divisionLine_cream:not(:first-of-type) {
  display: none;
}


.cartPopup .cartPopup_detail_item:nth-of-type(2) .divisionLine_black{
    display: none;
}
.cartPopup .cartPopup_detail_item:not(:nth-of-type(2)) .divisionLine_black{
    display: block;
    margin: 0px 0px 24px;
}

.cart .cartPopup .cartPopup_detail_item:not(:nth-of-type(2)) .divisionLine_black{
    display: block;
    margin: 0px 0px 16px;
}
.cartPopup .cartPopup_detail_total {
    margin-top: 16px;
    display: flex
;
    justify-content: space-between;
    color: #29110B;
    font-family: "Autour One";
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    position: relative;
    padding-top: 24px;
}

.cartPopup .cartPopup_detail_total::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 6px;
    background-image: url(../images/2025images/devisionLineBlack.svg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    top: 0px;
}

.checkout .cartPopup_detail .divisionLine_black{
    width: 100%;
     display: block;
    height: 6px;
    margin: 36px auto;
    object-fit: cover;

}
.cartPopup_detail .divisionLine_black:not(:last-of-type(0)){
  display: none;
}


.cartPopup_detail_total {
  margin-top: 17px;
  display: flex;
  justify-content: space-between;
  color: #29110B;

/* EN/Title */
font-family: "Autour One";
font-size: 24px;
font-style: normal;
font-weight: 400;
line-height: 150%; /* 36px */
}

.cartPopup_detail_total span{
   color: #29110B;

/* EN/Title */
font-family: "Autour One";
font-size: 24px;
font-style: normal;
font-weight: 400;
line-height: 150%; /* 36px */
}

.quantity_th {
  text-align: center;
}

.cart_container_content_left_santa_santa_grove_detail_title_name span {
  color: #29110B;

/* EN/Body - Bold */
font-family: Inter ,'Noto Sans TC';
font-size: 16px;
font-style: normal;
font-weight: 700;
line-height: 140%; /* 22.4px */
  padding: 0px;
  background-color: transparent;
  border-radius: 16px;
  margin-left: 0px;
}
/* 
.cartPopup_detail::before {
  content: "";
  display: block;
  aspect-ratio: 121 / 102;
  width: 20%;
  max-width: 121px;
  background-image: url(../images/deco_mistletoe.png);
  background-repeat: no-repeat;
  background-size: 100% auto;
  background-position: top center;
  transform: rotate(106deg);
  top: -6%;
  left: -9%;
  position: absolute;
  z-index: 1;
} */

.checkout_container .bookingContainer_top_deco_container {
  width: 16%;
  aspect-ratio: 388 / 582;
  position: absolute;
  left: 20px;
  top: 3%;
  z-index: 2;
  pointer-events: none;
}

.checkout_container .bookingContainer_top_deco_container::before {
  content: "";
  width: 100%;
  aspect-ratio: 347 / 212;
  display: block;
  position: absolute;
  top: -32px;
  background-image: url(../images/deco_green_memo.png);
  background-size: contain;
  z-index: 1;
}

.checkout_container_checkout_form .divisonLine_green{
  max-width: 427px;
  width: 100%;
}



.confirmPaymentPopup .btnWrapper {
  width: 100%;
}

.confirmPaymentPopup h4{
  margin-top: 36px;
}
  .checkout_container_checkout_form_timer{
    margin-top: 44px;
    height: 45px;
  }

@media (max-width: 960px) {
  .checkout_bottom_deco{
  /* margin-top: 0px         ; */
}

  .checkout .divisionLine_cream:not(:first-of-type){
  display: block;
  margin-bottom: 0px;
}
.checkout .cartPopup_detail_total{
  margin-top: 48px;
}

.checkout .cartPopup_detail_total::before{
  top: -24px;
}
.checkout .cartPopup_detail .divisionLine_black {
    width: 100%;
    display: block;
    height: 6px;
    margin: 24px auto;
    object-fit: cover;
}

.checkout_container_checkout_form_add_card_detail{
  max-width: 427px;
}
  .checkout .cartPopup_detail .otherItem h2{
    width: 100%;
    margin-top: 0px;
  }

   .checkout .cartPopup_detail .otherItem {
margin-block: 24px;
  }
  .checkout .cartPopup_detail .price{
        text-align: left;
        width: 150px !important;
        display: flex;
        align-items: center;
        justify-content: space-between;

  }
  .checkout .total{
    text-align: left;
       display: flex;
        align-items: center;
        justify-content: space-between;
        width: 150px;
  }
  #payment-element {
    width: 100%;
  }
  .checkout_container_checkout_form {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 100px;
    margin-top: 46px;
  }

  .checkout .divisionLine_cream{
    margin: 24px 0px;
  }
.checkout .price{
margin-top: 9px;
}
  .checkout_container .cartPopup_detail {
    
    padding: 0px;
    width: 100%;
    margin-top: 36px;
    margin-bottom: 100px;
    position: relative;
    overflow: hidden;
    max-width: 427px;
  }
  .cartPopup_detail {
    width: 100%;
    height: 100%;
  }

  .checkout_container .bookingContainer_top_deco_container {
    display: none;
  }
  .cartPopup_detail_item .price::before {
    color: #6e6653;
  }

  .cartPopup_detail_item .quantity::before {
    color: #6e6653;
  }
  .cartPopup_detail .cart_container_content_left_th{
    display: none;
  }

  .cartPopup
    .cart_container_content_left_santa_santa_grove_detail_other_item
    h2,
  .cartPopup_detail .price::before,
  .cartPopup_detail .quantity::before,
  .cartPopup_detail .total span,
  .cartPopup_detail .total::before {
    color: #29110B;
  }

  .checkout_container_checkout_form_timer {
    width: 100%;
    max-width: 427px;
min-width: 340px;
  }

  .checkout_container_deco_cart {
    width: 59%;
    aspect-ratio: 482 / 357;
    background-image: url(../images/checkout_bottom_cart.png);
    bottom: 0px;
    left: 0px;
    background-size: 100% auto;
    background-repeat: no-repeat;
    position: absolute;
    z-index: 1;
    max-height: 11%;
  }

  .checkout_container_deco_monster {
    width: 51%;
    aspect-ratio: 518 / 511;
    background-image: url(../images/checkout_bottom_right_deco.png);
    /* bottom: 20px; */
    right: 0px;
    background-size: 100% auto;
    background-repeat: no-repeat;
    position: absolute;
    z-index: 1;
    background-position: top center;
    max-width: 500px;
    bottom: 0px;
    max-height: 11%;
  }
  .checkout_container_bg {
    width: 100%;
   
    padding-inline: 4%;


  }

  .checkout_container_checkout_form_add_card_detail_row {
    width: 90%;
  }

  .summaryTitle {
    font-size: 20px;
  }


  #payment-element {
    width: 100%;
  }

  .checkout_container_checkout_form_add_card .btnWrapper {
    width: 100%;
    max-width: 500px;
  }

  .checkout_container_checkout_form_add_card_detail_total {
    width: 100%;
    margin-bottom: 14px;
  }
}
